createSession
Creates the session on the server and when successful updates app with the session. Sets sessionPromise.
navigation.createSession(ev)
Creates the session on the server and when successful updates app with the session. Sets sessionPromise.
Parameters
-
ev
{Event}
OptionalOptional DOM event that will be prevented if passed.